package com.cdm.domain.service;

import java.util.List;

import com.cdm.persistence.Content;
import com.cdm.persistence.ContentType;
import com.cdm.persistence.User;

public interface Service {

	public User login(String name, String password, String ip);

	public List<User> getAllCPs();

	public List<User> getAuthedUsersByRole(int role);

	public void auth(User user);

	public void delete(User user);

	public List<ContentType> getAllContentTypes();

	public void createContent(Content content, User loginUser, int state);

}
